package com.caishi.lkx.user.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @Param:
 * @return
 * @Author: huangpeng
 * @Date: 2021/9/26 15:26
 * @Description: 日志来源
 */

public enum  UserLogSourceType {
    //
    PcZhiYe("PC-职业资格", 1),
    PcGjtk("PC-高教题库", 2),
    AppZhiYe("维普考试APP-职业资格", 3),
    AppGjtk("维普考试APP-高教题库", 4),
//    WpZhiYeApp("维普职业考试题库APP", 5),
    WpZSZhiYe("维普掌上题库(微信端)-职业资格", 6),
    WpZSGjtk("维普掌上题库(微信端)-高教题库", 7),
    ;
    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    UserLogSourceType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
